package com.kk.emp.dao;
/*
 *@author KK on 2022.10.08 0:18
 */

import com.kk.emp.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface EmpMapper {
    Emp getByName(String ename);

    List<Emp> getEmpByKey(Map<String, String> emps);

    int addEmp(Emp emp);

    int delEmp(Integer eno);
}
